package o;

import android.content.res.ColorStateList;
import android.view.View;
import com.google.android.material.bottomnavigation.BottomNavigationView;
import java.lang.ref.WeakReference;

public class i extends SkinAttr {

    static final class e extends fkz<SkinAttr, ColorStateList> {
        private WeakReference<BottomNavigationView> ˊ;

        public /* synthetic */ void ॱ(Object obj) {
            ˊ((ColorStateList) obj);
        }

        private e(BottomNavigationView bottomNavigationView) {
            this.ˊ = new WeakReference(bottomNavigationView);
        }

        public void ˊ(ColorStateList colorStateList) {
            BottomNavigationView bottomNavigationView = (BottomNavigationView) this.ˊ.get();
            if (bottomNavigationView != null) {
                bottomNavigationView.setItemIconTintList(colorStateList);
            }
        }
    }

    public i() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof BottomNavigationView) {
            BottomNavigationView bottomNavigationView = (BottomNavigationView) view;
            if ("color_state_list".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "color_state_list";
                fks.ˎ(view.getContext(), this, new e(bottomNavigationView)).ॱ(z);
            }
        }
    }
}
